package com.example.common.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "doctor_notice")
public class Notice implements Serializable {

	private static final long serialVersionUID = -400168824349039508L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long iD;
	@Column(name = "cd_id_bigint", columnDefinition = "bigint(20)")
	private Long dcId;
	@Column(name = "contents_nvarchar", columnDefinition = "varchar(255)")
	private String contents;
	@Column(name = "create_time_datetime", columnDefinition = "datetime(3)")
	private Date createTime;
}
